package com.roc.steelend.service;


import com.roc.steelend.controller.vo.common.BuyByRecoding;
import com.roc.steelend.controller.vo.common.InventoryByRecoding;
import com.roc.steelend.controller.vo.common.InventorySpecialReception;
import com.roc.steelend.controller.vo.returnformat.ReturnMsgForTable;
import com.roc.steelend.pojo.BuyOrder;
import com.roc.steelend.pojo.Inventory;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;

public interface InventoryService {

    /**
     * 对开平订单进行原材料筛选
     * @return
     */
  ReturnMsgForTable findJuanBanByKaiPing(Integer now,
                                         Integer size,
                                         Integer smallTypeId,
                                         Integer warehouseId,
                                         BigDecimal thickness,
                                         BigDecimal weight);

    List<HashMap<String,Object>> findInventoryById(Integer inventoryId);

    //   查询库存
    List<Inventory> inventoryFindRecoding(InventoryByRecoding selectMsg);
    //    查询库存总数
    Integer inventoryFindRecodingCount(InventoryByRecoding selectMsg);

  List<HashMap<String,Object>> daigangpingbanInventoryFindRecoding(InventorySpecialReception inventorySpecialReception);

  Integer daigangpingbanInventoryFindRecodingCount(InventorySpecialReception inventorySpecialReception);

  List<HashMap<String,Object>>  inventoryWarehouse3();
}
